package com.example.comiccenter.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.comiccenter.domain.Comic;
import com.example.comiccenter.utils.ResultData;
import com.example.comiccenter.utils.SearchBean;
import org.springframework.stereotype.Repository;
import org.springframework.web.multipart.MultipartFile;

@Repository
public interface ComicService {
    ResultData getAllComic(SearchBean<Comic> searchBean);

    ResultData addComic(Comic comic, MultipartFile coverFile);

    ResultData deleteComic(Comic comic);

    ResultData updateComic(Comic comic, MultipartFile coverFile);

    ResultData getMain();
}
